package personal.model.service;

import java.sql.SQLException;
import java.util.List;

import personal.model.dao.SearchPersonalDao;
import personal.model.vo.AdminVO;
import personal.model.vo.DeptVO;
import personal.model.vo.EmpVO;
import personal.model.vo.GradeVO;

public class SearchPersonalServiceImpl implements SearchPersonalService {
	private SearchPersonalDao searchPersonalDao;
	@Override
	public void setSearchPersonalDao(SearchPersonalDao searchPersonalDao) {
		this.searchPersonalDao=searchPersonalDao;
	}
	@Override
	public List<DeptVO> selectDeptCode() throws SQLException {
		return searchPersonalDao.selectDeptCode();
	}
	@Override
	public List<AdminVO> selectAdminCode() throws SQLException {
		return searchPersonalDao.selectAdminCode();
	}
	@Override
	public List<GradeVO> selectGradeCode() throws SQLException {
		return searchPersonalDao.selectGradeCode();
	}
	@Override
	public List<EmpVO> selectPersonalCardResult(String selectMethod, String selectValue) throws SQLException {
		return searchPersonalDao.selectPersonalCardResult(selectMethod, selectValue);
	}
}